#ifndef _MATERIAL_H_
#define _MATERIAL_H_

#include <WinDef.h>

#include <D3D10_1.h>
#include <D3DX10math.h>

#include <assimp\material.h>

#include "Tools\RGBColor.h"

class Material
{
public:
	Material();
	~Material();

	BOOL build(aiMaterial* material);
	
	FLOAT GetOpacity() CONST;
	FLOAT GetShininess() CONST;

	RGBColor GetAmbient() CONST;
	RGBColor GetDiffuse() CONST;
	RGBColor GetSpecular() CONST;

private:
	FLOAT    m_opacity;
	FLOAT	 m_shininess;

	RGBColor m_ambient_factor;
	RGBColor m_diffuse_factor;
	RGBColor m_specular_factor;
};

#endif

